<?phpclass Language{	static private $_langName = '';	static private $_langArray = array();	static private $_modName = '';		static public function init()	{		if ( self::$_langName == NULL )		{        	self::setName(Config::LANG_NAME);        }	}		static public function setName($name)	{		self::$_langName = $name;	}		static public function getName()	{		return self::$_langName;	}		static public function load($modName)	{		self::$_modName = $modName;		$commonPath = ROOT_PATH.'/languages/'.self::$_langName.'/common.php';		$path = ROOT_PATH.'/languages/'.self::$_langName.'/'.$modName.'.php';		include($commonPath);		include($path);		self::$_langArray = $_;	}		static public function getModName()	{		return self::$_modName;	}		static public function _($name)	{		return isset(self::$_langArray[$name]) ? self::$_langArray[$name] : '';	}	}//final class Lang extends Language{}?>